from django.urls import path
from Hscinfo import views
# 心率血氧采集路由
urlpatterns = [
    
    path('', views.index, name='myapp_Hscinfo_index'),  # 浏览
    # path('hscinfo/search', hscinfo.search, name="myapp_hscinfo_search"),  # 查询
    # path('hscinfo/add', hscinfo.add, name="myapp_hscinfo_add"),  # 添加表单
    # path('hscinfo/insert', hscinfo.insert, name="myapp_hscinfo_insert"),  # 执行添加
    path("delete/<slug:nid>", views.delete, name='myapp_Hscinfo_delete'),  # 执行删除
    # path('hscinfo/edit/<slug:hspid>', hscinfo.edit, name="myapp_hscinfo_edit"),  # 加载编辑表单
    # path('hscinfo/update', hscinfo.update, name="myapp_hscinfo_update"),  # 执行编辑
    # path('hscinfo/patients', hscinfo.patients, name="myapp_hscinfo_patients"),  # 执行病历操作
    # path('hscinfo/records/<slug:hspid>', hscinfo.records, name="myapp_hscinfo_records"),  # 执行选择操作
    # path('hscinfo/records/total/<slug:hspid>/<slug:templateid>', hscinfo.total, name="myapp_hscinfo_total"),  # 合并操作
    # path('hscinfo/update1', hscinfo.update1, name="myapp_hscinfo_update1"),  # 执行编辑

]